import React, { Component, useState, useEffect } from 'react'
import url from '../assets/dog.gif'
import position from '../position'
export default function TT() {
  let { x, y } = position()

  x += 200
  y -= 50
  return (
    <div>
      <img src={url} alt="" style={{ position: 'absolute', left: x, top: y }} />
    </div>
  )
}
